package com.cms.service;

import com.cms.entity.Project;
import com.cms.exception.DuplicateKeyException;

import java.util.HashMap;
import java.util.List;

public interface ProjectService {
    List<Project> findAll();

    int insertProject (Project project) throws DuplicateKeyException;

    int updateProject (HashMap<String,String> updateMap) throws DuplicateKeyException;

    int deleteProject (String id);
}
